<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets" 
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:totoland="http://java.sun.com/jsf/composite/components">
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="${request.contextPath}/resources/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
            <script src="${request.contextPath}/resources/js/html5.js"></script>
        <link rel="stylesheet" href="${request.contextPath}/resources/css/style.css" media="screen"/>
        
        <link rel="stylesheet" href="${request.contextPath}/resources/css/style.responsive.css" media="all"/>

    </h:head>
    <h:body>
        <h:form>

            <p:panel id="REPORT_004" header="#{msg.report_004_header}">

                <div style="width: 1050px;overflow-x: scroll">
                    <p:panel id="REPORT_REPORT_004" header="#{formReport004Controller.reportTitle}" style="width: 1550px">
                        <p:messages id="REPORT_004msgFrmDetails"></p:messages>

                        <p:panelGrid styleClass="frmDetail" id="REPORT_004pnlFrm">
                            <f:facet name="header">
                                <p:row>  
                                    <p:column rowspan="3" style="text-align: center;vertical-align: middle;width: 120px">ประเภท อปท.</p:column>
                                    <p:column colspan="3" style="text-align: center;width: 90px">การเลือกตั้ง (แห่ง)</p:column>
                                    <p:column colspan="2" style="text-align: center;width: 90px">จำนวน (ตำแหน่ง)</p:column>
                                    <p:column colspan="6" style="text-align: center;width: 90px">การประกาศผลการเลือกตั้ง</p:column>
                                </p:row>
                                <p:row>
                                    <p:column colspan="1" style="text-align: center;width: 90px">กรณีครบวาระ</p:column>
                                    <p:column colspan="1" style="text-align: center;width: 120px">เลือกตั้งใหม่ก่อนประกาศผลการเลือกตั้ง</p:column>
                                    <p:column colspan="1" style="text-align: center;width: 90px">เลือกตั้งแทนตำแหน่งที่ว่าง</p:column>
                                    <p:column colspan="1" style="text-align: center;width: 90px">ส.ถ.</p:column>
                                    <p:column colspan="1" style="text-align: center;width: 90px">ผ.ถ.</p:column>
                                    <p:column colspan="2" style="text-align: center;width: 90px">จำนวนที่เลือกตั้งก่อนเดือนนี้</p:column>
                                    <p:column colspan="2" style="text-align: center;width: 90px">จำนวนที่เลือกตั้งในเดือนนี้</p:column>
                                    <p:column colspan="2" style="text-align: center;width: 90px">รวม</p:column>
                                </p:row>
                                <p:row>  
                                    <p:column colspan="5"></p:column>
                                    <p:column colspan="1">ส.ถ. (ตำแหน่ง)</p:column>
                                    <p:column colspan="1">ผ.ถ. (ตำแหน่ง)</p:column>
                                    <p:column colspan="1">ส.ถ. (ตำแหน่ง)</p:column>
                                    <p:column colspan="1">ผ.ถ. (ตำแหน่ง)</p:column>
                                    <p:column colspan="1">ส.ถ. (ตำแหน่ง)</p:column>
                                    <p:column colspan="1">ผ.ถ. (ตำแหน่ง)</p:column>
                                </p:row>
                            </f:facet>
                            <p:row>
                                <p:column>
                                    <h:outputText value="#{formReport004Controller.report004.report004DetailList[0].dlaType}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="1" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[0].fullTerm}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="8" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[0].electionBeforeAnnouncement}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="15" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[0].electionFillVacancy}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="22" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[0].amountSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="29" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[0].amountPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="36" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[0].electionEarlierLastMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="43" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[0].electionEarlierLastMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="50" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[0].electionEarlierCurMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="57" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[0].electionEarlierCurMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[0].electionEarlierAmountSTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[0].electionEarlierAmountPhTh}"/>
                                </p:column>
                            </p:row>
                            <p:row>
                                <p:column>
                                    <h:outputText value="#{formReport004Controller.report004.report004DetailList[1].dlaType}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="2" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[1].fullTerm}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="9" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[1].electionBeforeAnnouncement}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="16" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[1].electionFillVacancy}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="23" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[1].amountSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="30" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[1].amountPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="37" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[1].electionEarlierLastMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="44" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[1].electionEarlierLastMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="51" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[1].electionEarlierCurMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="58" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[1].electionEarlierCurMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[1].electionEarlierAmountSTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[1].electionEarlierAmountPhTh}"/>
                                </p:column>
                            </p:row>
                            <p:row>
                                <p:column>
                                    <h:outputText value="#{formReport004Controller.report004.report004DetailList[2].dlaType}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="3" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[2].fullTerm}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="10" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[2].electionBeforeAnnouncement}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="17" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[2].electionFillVacancy}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="24" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[2].amountSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="31" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[2].amountPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="38" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[2].electionEarlierLastMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="45" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[2].electionEarlierLastMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="52" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[2].electionEarlierCurMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="59" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[2].electionEarlierCurMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[2].electionEarlierAmountSTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[2].electionEarlierAmountPhTh}"/>
                                </p:column>
                            </p:row>
                            <p:row>
                                <p:column>
                                    <h:outputText value="#{formReport004Controller.report004.report004DetailList[3].dlaType}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="4" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[3].fullTerm}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="11" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[3].electionBeforeAnnouncement}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="18" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[3].electionFillVacancy}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="25" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[3].amountSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="32" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[3].amountPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="39" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[3].electionEarlierLastMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="46" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[3].electionEarlierLastMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="53" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[3].electionEarlierCurMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="60" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[3].electionEarlierCurMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[3].electionEarlierAmountSTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[3].electionEarlierAmountPhTh}"/>
                                </p:column>
                            </p:row>
                            <p:row>
                                <p:column>
                                    <h:outputText value="#{formReport004Controller.report004.report004DetailList[4].dlaType}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="5" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[4].fullTerm}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="12" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[4].electionBeforeAnnouncement}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="19" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[4].electionFillVacancy}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="26" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[4].amountSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="33" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[4].amountPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="40" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[4].electionEarlierLastMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="47" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[4].electionEarlierLastMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="54" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[4].electionEarlierCurMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="61" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[4].electionEarlierCurMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[4].electionEarlierAmountSTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[4].electionEarlierAmountPhTh}"/>
                                </p:column>
                            </p:row>
                            <p:row>
                                <p:column>
                                    <h:outputText value="#{formReport004Controller.report004.report004DetailList[5].dlaType}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="6" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[5].fullTerm}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="13" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[5].electionBeforeAnnouncement}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="20" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[5].electionFillVacancy}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="27" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[5].amountSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="34" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[5].amountPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="41" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[5].electionEarlierLastMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="48" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[5].electionEarlierLastMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="55" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[5].electionEarlierCurMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="62" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[5].electionEarlierCurMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[5].electionEarlierAmountSTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[5].electionEarlierAmountPhTh}"/>
                                </p:column>
                            </p:row>
                            <p:row>
                                <p:column>
                                    <h:outputText value="#{formReport004Controller.report004.report004DetailList[6].dlaType}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="7" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[6].fullTerm}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="14" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[6].electionBeforeAnnouncement}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="21" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[6].electionFillVacancy}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="28" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[6].amountSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="35" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[6].amountPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="42" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[6].electionEarlierLastMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="49" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[6].electionEarlierLastMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="56" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[6].electionEarlierCurMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <totoland:inputNumber tabindex="63" disabled="#{formReport004Controller.paramMode=='view'}" value="#{formReport004Controller.report004.report004DetailList[6].electionEarlierCurMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[6].electionEarlierAmountSTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.report004.report004DetailList[6].electionEarlierAmountPhTh}"/>
                                </p:column>
                            </p:row>
                            <p:row>
                                <p:column>
                                    <p:commandButton icon="ui-icon-calculator" value="รวม" disabled="#{formReport004Controller.paramMode=='view'}" action="#{formReport004Controller.cal()}" update="REPORT_004pnlFrm"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.footer.fullTerm}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.footer.electionBeforeAnnouncement}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.footer.electionFillVacancy}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.footer.amountSTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.footer.amountPhTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.footer.electionEarlierLastMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.footer.electionEarlierLastMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.footer.electionEarlierCurMonthSTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.footer.electionEarlierCurMonthPhTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.footer.electionEarlierAmountSTh}"/>
                                </p:column>
                                <p:column>
                                    <h:outputLabel value="#{formReport004Controller.footer.electionEarlierAmountPhTh}"/>
                                </p:column>
                            </p:row>

                        </p:panelGrid>

                        <h:panelGroup id="REPORT_004pnlCmd" rendered="#{formReport004Controller.report004.flowStatusId!=200}">
                            <div align="center">
                                <p:commandButton value="#{msg.btn_save}" actionListener="#{formReport004Controller.save()}" id="REPORT_004btnSave" rendered="#{formReport004Controller.paramMode=='create'}"/>
                                <p:commandButton value="#{msg.btn_edit}" actionListener="#{formReport004Controller.goToEdit()}" id="REPORT_004btnEdit" rendered="#{formReport004Controller.paramMode=='view' 
                                                          and formReport004Controller.canEdit(formReport004Controller.report004.createdUserGroup,formReport004Controller.report004.reportStatus,formReport004Controller.report004.flowStatusId)}"/>
                                <p:commandButton value="#{msg.btn_close}" actionListener="#{formReport004Controller.goToClose()}" id="REPORT_004btnClose" rendered="#{formReport004Controller.paramMode=='view' || formReport004Controller.paramMode=='create'}"/>
                                <p:commandButton value="#{msg.btn_save}" actionListener="#{formReport004Controller.edit()}" id="REPORT_004btnSaveEdit" rendered="#{formReport004Controller.paramMode=='edit'}"/>
                                <p:commandButton value="#{msg.btn_cancel}" id="REPORT_004btnCancel" actionListener="#{formReport004Controller.goToCancel()}" rendered="#{formReport004Controller.paramMode=='edit'}"/>
                            </div>
                        </h:panelGroup>
                    </p:panel>
                </div>

            </p:panel>
            <p:ajaxStatus onstart="blogui004.show()" oncomplete="blogui004.hide()"/>
            <p:blockUI  block="REPORT_REPORT_004" widgetVar="blogui004">
                LOADING<br />
                <img src="${request.contextPath}/resources/images/preloader-01.gif"/>
            </p:blockUI>
        </h:form>
    </h:body>
</html>